package com.ruoyi.service;

import java.util.List;
import com.ruoyi.domain.MemberInvoice;

/**
 * 电子发票Service接口
 * 
 * @author dongdong
 * @date 2025-09-22
 */
public interface IMemberInvoiceService 
{
    /**
     * 查询电子发票
     * 
     * @param id 电子发票主键
     * @return 电子发票
     */
    public MemberInvoice selectMemberInvoiceById(Long id);

    /**
     * 查询电子发票列表
     * 
     * @param memberInvoice 电子发票
     * @return 电子发票集合
     */
    public List<MemberInvoice> selectMemberInvoiceList(MemberInvoice memberInvoice);

    /**
     * 新增电子发票
     * 
     * @param memberInvoice 电子发票
     * @return 结果
     */
    public int insertMemberInvoice(MemberInvoice memberInvoice);

    /**
     * 修改电子发票
     * 
     * @param memberInvoice 电子发票
     * @return 结果
     */
    public int updateMemberInvoice(MemberInvoice memberInvoice);

    /**
     * 批量删除电子发票
     * 
     * @param ids 需要删除的电子发票主键集合
     * @return 结果
     */
    public int deleteMemberInvoiceByIds(Long[] ids);

    /**
     * 删除电子发票信息
     * 
     * @param id 电子发票主键
     * @return 结果
     */
    public int deleteMemberInvoiceById(Long id);

    int issueInvoice(MemberInvoice memberInvoice);
}
